<?php
namespace Shop\Controller;
use Comon\Common;
use Think\Controller;

/*Ajax异步获取数据Action*/
class AjaxController extends Controller{
	/*根据父级ID获得权限节点列表*/
	public function getNodeListByPid(){
		$pid = I('get.pid',0,'int');
		$sysNodeAction = A("Admin/SysNode");
		$result = $sysNodeAction->get_node_list($pid);
		$this->ajaxReturn($result,'json',1);
	}
}
